package hotel.switchs.oversea.api.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 **/
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class SwitchSaleRoomAboutIdsDto {
    /**
     * 子酒店id
     */
    String hotelId;
    /**
     * 美团产品(售卖房型)id
     */
    String mtRoomId;
    Integer mtGoodId;
    /**
     * 携程售卖房型id
     */
    String saleRoomId;
    /**
     * 美团售卖房型最新价格
     */
    Integer price;

    public void setPrice(Integer price) {
        if(null == price){
            price = 0;
        }
        this.price = price;
    }
}
